import static org.junit.Assert.*;

import org.junit.Test;


public class MonthTest {
	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 1
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest1() {
	    Year year = new Year(2011);
	    Month month = new Month(1, year);
	    assertEquals(1, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 2
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest2() {
	    Year year = new Year(2011);
	    Month month = new Month(2, year);
	    assertEquals(2, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 3
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest3() {
	    Year year = new Year(2011);
	    Month month = new Month(3, year);
	    assertEquals(3, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 4
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest4() {
	    Year year = new Year(2011);
	    Month month = new Month(4, year);
	    assertEquals(4, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 5
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest5() {
	    Year year = new Year(2011);
	    Month month = new Month(5, year);
	    assertEquals(5, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 6
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest6() {
	    Year year = new Year(2011);
	    Month month = new Month(6, year);
	    assertEquals(6, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 7
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest7() {
	    Year year = new Year(2011);
	    Month month = new Month(7, year);
	    assertEquals(7, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 8
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getMonthTest8() {
	    Year year = new Year(2011);
	    Month month = new Month(8, year);
	    assertEquals(8, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 9
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void getMonthTest9() {
	    Year year = new Year(2011);
	    Month month = new Month(9, year);
	    assertEquals(9, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 10
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void getMonthTest10() {
	    Year year = new Year(2011);
	    Month month = new Month(10, year);
	    assertEquals(10, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 11
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void getMonthTest11() {
	    Year year = new Year(2011);
	    Month month = new Month(11, year);
	    assertEquals(11, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 12
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void getMonthTest12() {
	    Year year = new Year(2011);
	    Month month = new Month(12, year);
	    assertEquals(12, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 13
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest1() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(1, year);
	    assertEquals(1, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 14
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest2() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(2, year);
	    assertEquals(2, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 15
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest3() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(3, year);
	    assertEquals(3, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 16
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest4() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(4, year);
	    assertEquals(4, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 17
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest5() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(5, year);
	    assertEquals(5, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 18
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest6() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(6, year);
	    assertEquals(6, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 19
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest7() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(7, year);
	    assertEquals(7, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 20
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest8() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(8, year);
	    assertEquals(8, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 21
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest9() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(9, year);
	    assertEquals(9, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 22
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest10() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(10, year);
	    assertEquals(10, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 23
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest11() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(11, year);
	    assertEquals(11, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 24
	 * Purpose: test consistency
	 * Priority: 2
	 */
	@Test public void setMonthTest12() {
	    Year year = new Year(2011);
	    Month month = new Month(0, year);
	    month.setMonth(12, year);
	    assertEquals(12, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 25
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest1() {
	    Year year = new Year(2011);
	    Month month = new Month(1, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 26
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest2() {
	    Year year = new Year(2011);
	    Month month = new Month(2, year);
	    assertEquals(28, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 27
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest3() {
	    Year year = new Year(2011);
	    Month month = new Month(3, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 28
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest4() {
	    Year year = new Year(2011);
	    Month month = new Month(4, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 29
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest5() {
	    Year year = new Year(2011);
	    Month month = new Month(5, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 30
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest6() {
	    Year year = new Year(2011);
	    Month month = new Month(6, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 31
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest7() {
	    Year year = new Year(2011);
	    Month month = new Month(7, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 32
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest8() {
	    Year year = new Year(2011);
	    Month month = new Month(8, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 33
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest9() {
	    Year year = new Year(2011);
	    Month month = new Month(9, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 34
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest10() {
	    Year year = new Year(2011);
	    Month month = new Month(10, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 35
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest11() {
	    Year year = new Year(2011);
	    Month month = new Month(11, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 36
	 * Purpose: test non-leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest12() {
	    Year year = new Year(2011);
	    Month month = new Month(12, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 37
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest13() {
	    Year year = new Year(2012);
	    Month month = new Month(1, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 38
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest14() {
	    Year year = new Year(2012);
	    Month month = new Month(2, year);
	    assertEquals(29, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 39
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest15() {
	    Year year = new Year(2012);
	    Month month = new Month(3, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 40
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest16() {
	    Year year = new Year(2012);
	    Month month = new Month(4, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 41
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest17() {
	    Year year = new Year(2012);
	    Month month = new Month(5, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 42
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest18() {
	    Year year = new Year(2012);
	    Month month = new Month(6, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 43
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest19() {
	    Year year = new Year(2012);
	    Month month = new Month(7, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 44
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest20() {
	    Year year = new Year(2012);
	    Month month = new Month(8, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 45
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest21() {
	    Year year = new Year(2012);
	    Month month = new Month(9, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 46
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest22() {
	    Year year = new Year(2012);
	    Month month = new Month(10, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 47
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest23() {
	    Year year = new Year(2012);
	    Month month = new Month(11, year);
	    assertEquals(30, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 48
	 * Purpose: test leap year
	 * Priority: 1
	 */
	@Test public void getMonthSizeTest24() {
	    Year year = new Year(2012);
	    Month month = new Month(12, year);
	    assertEquals(31, month.getMonthSize());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 49
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest1() {
	    Year year = new Year(2011);
	    Month month = new Month(1, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(2, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 50
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest2() {
	    Year year = new Year(2011);
	    Month month = new Month(2, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(3, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 51
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest3() {
	    Year year = new Year(2011);
	    Month month = new Month(3, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(4, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 52
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest4() {
	    Year year = new Year(2011);
	    Month month = new Month(4, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(5, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 53
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest5() {
	    Year year = new Year(2011);
	    Month month = new Month(5, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(6, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 54
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest6() {
	    Year year = new Year(2011);
	    Month month = new Month(6, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(7, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 55
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest7() {
	    Year year = new Year(2011);
	    Month month = new Month(7, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(8, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 56
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest8() {
	    Year year = new Year(2011);
	    Month month = new Month(8, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(9, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 57
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest9() {
	    Year year = new Year(2011);
	    Month month = new Month(9, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(10, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 58
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest10() {
	    Year year = new Year(2011);
	    Month month = new Month(10, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(11, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 59
	 * Purpose: test normal condition
	 * Priority: 1
	 */
	@Test public void incrementTest11() {
	    Year year = new Year(2011);
	    Month month = new Month(11, year);
	    boolean result = month.increment();
	    assertTrue(result);
	    assertEquals(12, month.getMonth());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-20T19:41:03.313000
	 * @version: 0.1
	 * @TCID: 60
	 * Purpose: test new year condition
	 * Priority: 1
	 */
	@Test public void incrementTest12() {
	    Year year = new Year(2011);
	    Month month = new Month(12, year);
	    boolean result = month.increment();
	    assertFalse(result);
	    assertEquals(13, month.getMonth());
	}

}
